package com.chao.a.config;

import feign.Contract;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Luck Chao
 * @Date: 2021/12/07
 */
@EnableFeignClients
@SpringBootConfiguration
public class FeignConfig {

    @Bean
    public Contract contract() {
        return new Contract.Default();
    }
}
